package com.weiyuwqj.api.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Table(name = "bus_guarantee_security")
public class BusGuaranteeSecurity implements Serializable {
    @Id
    private Integer id;

    /**
     * 担保人id
     */
    @Column(name = "user_id")
    private Integer userId;

    /**
     * 企业全称
     */
    @Column(name = "enterprise_full_name")
    private String enterpriseFullName;

    /**
     * 证件类型：默认营业执照BLC
     */
    @Column(name = "cert_type")
    private String certType;

    /**
     * 营业执照号
     */
    @Column(name = "business_license")
    private String businessLicense;

    /**
     * 国家区域码：中国086
     */
    @Column(name = "region_code")
    private String regionCode;

    /**
     * 联系手机（原代理手机号码）
     */
    @Column(name = "agent_person_phone")
    private String agentPersonPhone;

    private String organCode;

    /**
     * 添加时间
     */
    private Date addtime;

    private String address;

    @Column(name = "legal_name")
    private String legalName;

    private String legalNo;

    @Column(name = "bankcard_name")
    private String bankCardName;

    private String issuer;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取担保人id
     *
     * @return user_id - 担保人id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置担保人id
     *
     * @param userId 担保人id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取企业全称
     *
     * @return enterprise_full_name - 企业全称
     */
    public String getEnterpriseFullName() {
        return enterpriseFullName;
    }

    /**
     * 设置企业全称
     *
     * @param enterpriseFullName 企业全称
     */
    public void setEnterpriseFullName(String enterpriseFullName) {
        this.enterpriseFullName = enterpriseFullName;
    }

    /**
     * 获取证件类型：默认营业执照BLC
     *
     * @return cert_type - 证件类型：默认营业执照BLC
     */
    public String getCertType() {
        return certType;
    }

    /**
     * 设置证件类型：默认营业执照BLC
     *
     * @param certType 证件类型：默认营业执照BLC
     */
    public void setCertType(String certType) {
        this.certType = certType;
    }

    /**
     * 获取营业执照号
     *
     * @return business_license - 营业执照号
     */
    public String getBusinessLicense() {
        return businessLicense;
    }

    /**
     * 设置营业执照号
     *
     * @param businessLicense 营业执照号
     */
    public void setBusinessLicense(String businessLicense) {
        this.businessLicense = businessLicense;
    }

    /**
     * 获取国家区域码：中国086
     *
     * @return region_code - 国家区域码：中国086
     */
    public String getRegionCode() {
        return regionCode;
    }

    /**
     * 设置国家区域码：中国086
     *
     * @param regionCode 国家区域码：中国086
     */
    public void setRegionCode(String regionCode) {
        this.regionCode = regionCode;
    }

    /**
     * 获取联系手机（原代理手机号码）
     *
     * @return agent_person_phone - 联系手机（原代理手机号码）
     */
    public String getAgentPersonPhone() {
        return agentPersonPhone;
    }

    /**
     * 设置联系手机（原代理手机号码）
     *
     * @param agentPersonPhone 联系手机（原代理手机号码）
     */
    public void setAgentPersonPhone(String agentPersonPhone) {
        this.agentPersonPhone = agentPersonPhone;
    }

    /**
     * 获取添加时间
     *
     * @return addtime - 添加时间
     */
    public Date getAddtime() {
        return addtime;
    }

    /**
     * 设置添加时间
     *
     * @param addtime 添加时间
     */
    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLegalNo() {
        return legalNo;
    }

    public void setLegalNo(String legalNo) {
        this.legalNo = legalNo;
    }

    public String getLegalName() {
        return legalName;
    }

    public void setLegalName(String legalName) {
        this.legalName = legalName;
    }

    public String getOrganCode() {
        return organCode;
    }

    public void setOrganCode(String organCode) {
        this.organCode = organCode;
    }

    public String getBankCardName() {
        return bankCardName;
    }

    public void setBankCardName(String bankCardName) {
        this.bankCardName = bankCardName;
    }

    public String getIssuer() {
        return issuer;
    }

    public void setIssuer(String issuer) {
        this.issuer = issuer;
    }
}